package com.ruoyi.im.domain;

import com.ruoyi.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 黑名单表 im_blacklist
 * 
 * @author lxs
 * @date 2018-11-09
 */
public class Blacklist extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Long id;
	/**分组id  */
	private Long groupId;
	/** 用户id*/
	private Long userId;
	/** 被拉入黑名单的用户id*/
	private Long pullerUserId;
	private String nickname;//昵称
	private String logo;//头像
	private String age;//年龄
	private String sex;//性别

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setGroupId(Long groupId) 
	{
		this.groupId = groupId;
	}

	public Long getGroupId() 
	{
		return groupId;
	}
	public void setUserId(Long userId) 
	{
		this.userId = userId;
	}

	public Long getUserId() 
	{
		return userId;
	}
	public void setPullerUserId(Long pullerUserId) 
	{
		this.pullerUserId = pullerUserId;
	}

	public Long getPullerUserId() 
	{
		return pullerUserId;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("groupId", getGroupId())
            .append("userId", getUserId())
            .append("pullerUserId", getPullerUserId())
            .toString();
    }
}
